Reuse of TTCN-3 Code
نویسنده
چکیده
Today, the growing size and complexity of software along with decreasing development times causes tremendous challenges to software testing. This has driven the whole software industry to seek new ways to test more efficiently and effectively. Software reuse has been practiced for decades and successful industrial studies have demonstrated such profits as increased productivity and quality as well as decreased development times and costs. This raises the question of whether software reuse could be applied to a testing context as well. This work studies the reuse of tests that are created with a new test specification and implementation language TTCN-3 (Testing and Test Control Notation). In order to apply reuse into a testing context, a set of guidelines for reusable TTCN-3 code is presented. These guidelines are based on the techniques familiar from software reuse, TTCN-3 test system and language characteristics, and on some of the specifics of software testing. Applicability of the guidelines, and the level and profits of TTCN-3 test reuse are determined in a case study. The case study plainly demonstrates that the majority of the guidelines were successfully applied and that they had a positive impact on measured levels and profits of reuse. The overall results, experiences and impressions of TTCN-3 test reuse during this work were very encouraging and will hopefully lead to future projects in areas of test reuse.
منابع مشابه
A Refactoring Tool for TTCN-3
Software is continuously growing in size and getting more and more complex while development cycles are getting shorter. The resulting software aging effect leads to a decay in software quality causing maintainability problems and bugs. Software engineering techniques like modularization, object-orientation, design patterns, aspect-oriented programming or refactoring have been developed to slow...
متن کاملUtilising Code Smells to Detect Quality Problems in TTCN-3 Test Suites
Today, test suites of several ten thousand lines of code are specified using the Testing and Test Control Notation (TTCN-3). Experience shows that the resulting test suites suffer from quality problems with respect to internal quality aspects like usability, maintainability, or reusability. Therefore, a quality assessment of TTCN-3 test suites is desirable. A powerful approach to detect quality...
متن کاملAutomation of Refactoring and Refactoring Suggestions for TTCN-3 Test Suites. The TRex TTCN-3 Refactoring and Metrics Tool
Refactoring is not only useful for source code of implementations, but as well for test specifications. The open source TRex tool automates the application of refactorings and the detection of refactoring opportunities for test suites that are specified using the standardised Testing and Test Control Notation (TTCN-3). Depending on the refactoring, the behaviour preserving transformations may i...
متن کاملRefactoring for TTCN-3 Test Suites
Experience with the development and maintenance of test suites has shown that the Testing and Test Control Notation (TTCN-3) provides very good concepts for adequate test specification. However, experience has also demonstrated that during either the migration of legacy test suites to TTCN-3, or the development of large TTCN-3 test specifications, users have found it is difficult to construct T...
متن کاملNetwork Element Testing Using TTCN-3: Benefits and Comparison
As testing often consumes over 40% of the typical project development effort, there is great need for optimizing the testing effort. In addition, as the cost of fixing defects is dramatically lower when fixing those close to where they were introduced, finding defects in the early life-cycle phases is critical. TTCN-3 (Testing and Test Control Notation), developed at ETSI and standardized by th...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2005